<?php

/**
 * Payment filter form.
 *
 * @package    ##PROJECT_NAME##
 * @subpackage filter
 * @author     ##AUTHOR_NAME##
 * @version    SVN: $Id: sfPropelFormFilterTemplate.php 11675 2008-09-19 15:21:38Z fabien $
 */
class PaymentFormFilter extends BasePaymentFormFilter
{
  public function configure()
  {
  	

  	$this->widgetSchema['date_from'] =  new sfWidgetFormInput(array(),array('size'=>'10'));
  	$this->widgetSchema['date_to'] =  new sfWidgetFormInput(array(),array('size'=>'10'));
        $this->widgetSchema['user_id'] =  new sfWidgetFormInput(array(),array('size'=>'10'));
         $this->widgetSchema['payment_id'] =  new sfWidgetFormInput(array(),array('size'=>'10'));
   //     $this->widgetSchema['direction'] =  new sfWidgetFormChoice(array('choices' => array('0' => __('расход'), '1' => __('приход'))));
  	
  	$this->validatorSchema ['partner_id'] = new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false)));
  }
}
